package com.dq.controller.in.request;

import com.dq.domain.sys.user.user.base.SysUser;
import com.dq.domain.sys.user.user.WxUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * @author liuhui
 * @date 2019/11/23 0023 15:05:24
 */
@Data
@ApiModel("顾客档案添加请求实体")
public class WxUserAddRequest {
    @NotNull(message = "请上传用户头像")
    @ApiModelProperty("用户头像")
    public String headImg;

    @NotNull(message = "请输入手机号")
    @ApiModelProperty("手机号")
    public String phone;

    @NotNull(message = "请输入用户真实姓名")
    @ApiModelProperty("用户姓名")
    public String userRealCName;

    @NotNull(message = "请选择用户生日， APP参数")
    @ApiModelProperty("生日")
    public String birthday;
    @NotNull(message = "请选择用户生日, PC")
    @ApiModelProperty("生日")
    public Long birthdayLong;
    @NotNull(message = "请选择会龄")
    @ApiModelProperty("会龄")
    public Long entryTime;

    @Email(message = "邮箱格式不正确")
    @ApiModelProperty("邮箱")
    public String email;

    @NotNull(message = "请输入用户身份证")
    @ApiModelProperty("身份证")
    public String idCardNo;

    @NotNull(message = "请输入用户微信号")
    @ApiModelProperty("微信号")
    public String wxNumber;

    @NotNull(message = "请输入用户单位信息")
    @ApiModelProperty("单位地址及名称")
    public String employerName;

    @NotNull(message = "请选择用户喜好标签")
    @ApiModelProperty("用户喜好id |号分割")
    public String userHobbyIds;

    @NotNull(message = "请选择技师")
    @ApiModelProperty("技师用户id")
    public Long staffUserId;

    @NotNull(message = "请选择等级")
    @ApiModelProperty("等级id")
    public Long levelId;

    @NotNull(message = "请选择性别")
    @ApiModelProperty("性别")
    public SysUser.Gender gender;
    @NotNull(message = "门店id不能为空")
    @ApiModelProperty("门店id")
    public Long orgId;
    @NotNull(message = "会员类型不能为空")
    @ApiModelProperty("会员类型")
    public WxUser.MemberType memberType;

    @ApiModelProperty("皮肤档案")
    public String skinJson;
}
